<?php

declare(strict_types=1);

namespace App\Model;

use Hyperf\Database\Model\SoftDeletes;
use Hyperf\DbConnection\Model\Model;

class AuthRole extends Model
{
    use SoftDeletes;
    const ENABLE_ROLE_CACHE_KEY = 'ENABLE_ROLE_CACHE_KEY';

    const STATUS_SHOW = 1;
    const STATUS_HIDE = 0;

    protected ?string $table = 'system_auth_roles';
    protected array $fillable = ['id', 'name', 'pid','is_admin','status', 'created_at', 'updated_at'];

}
